CSE 311: Section 2

Task 1 – Simple Formal Proofs

  1. Given (ab(a \to b), (cb)(c \to b), a(cd)a \lor (c \land d), show that bb holds.

  2. Given ¬(¬rk)\neg(\neg r \vee k), ¬q¬s\neg q \vee \neg s and (pq)(rs)(p\to q) \wedge (r\to s), show that ¬p\neg p holds.

Task 2 – Direct Proofs

  1. Show that ¬ks\neg k \to s follows from kqk\vee q, qrq\to r and rsr\to s with a formal proof.

  2. Show that rpr \to p follows from p¬qp \vee \neg q, (rs)(qs)(r \vee s) \to (q \vee s), and ¬s\neg s.

Task 3 – Predicate Logic Proofs

  1. Given x(T(x)M(x))\forall x\, (T(x) \rightarrow M(x)), prove (xT(x))(yM(y))(\exists x\, T(x)) \rightarrow (\exists y\, M(y)).

  2. Given x(T(x)yS(y,x))\exists x\, (T(x) \rightarrow \forall y\, S(y, x)), prove yx(T(x)S(y,x))\forall y\, \exists x\, (T(x) \rightarrow S(y, x)).

Task 4 – English Proofs

Let domain of discourse be the integers. Consider the following claim: xy((𝖤𝗏𝖾𝗇(x)𝖮𝖽𝖽(y))𝖮𝖽𝖽(x+y))\forall x\, \forall y\, ((\mathop{\mathrm{\textsf{Even}}}(x) \wedge \mathop{\mathrm{\textsf{Odd}}}(y)) \to \mathop{\mathrm{\textsf{Odd}}}(x+y)) In English, this says that, for any even integer xx and odd integer yy, the integer x+yx + y is odd.

  1. Write a formal proof that the claim holds.

  2. Translate your formal proof to an English proof.

    Keep in mind that your proof will be read by a human, not a computer, so you should explain the algebra steps in more detail, whereas some of the predicate logic steps (e.g., Elim \exists) can be skipped.